package com.groupbuying.currency.producer.service;

import com.groupbuying.currency.producer.domain.CurrencyCustomerLogDO;
import com.groupbuying.currency.producer.domain.CurrencyPrepayInfoDO;
import com.groupbuying.currency.producer.domain.CurrencyResultDO;

import java.util.List;
import java.util.Map;

/**
 * 积分支付结果记录表
 * 
 * @author mzfei
 * @email hdmzfei@163.com
 * @date 2019-09-04 09:45:44
 * @des
 */

public interface CurrencyResultService {
	
	CurrencyResultDO get(String resultId);
	
	List<CurrencyResultDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CurrencyResultDO currencyResult);
	
	int update(CurrencyResultDO currencyResult);
	
	int remove(String resultId);
	
	int batchRemove(String[] resultIds);

    /**
     * 保存结果记录表
     * @param
     * @return
     */
    public int saveCurrencyResult(CurrencyCustomerLogDO currencyCustomerLog,CurrencyPrepayInfoDO prePayInfo);

    CurrencyResultDO queryPayStateByPrePayNo(String prePayNo);
    /**
     * 更新直接余额状态表
     *
     * @param
     * @param
     * @return
     */
    public void updateCurrencyResult(String prePayNo);


}
